<template>
  <div class="header-comp">
    <p class="header-title">购物车</p>
  </div>
</template>

<script>
  import { Component, Prop, Vue } from 'vue-property-decorator';

  @Component({name: 'Header'})
  export default class Header extends Vue{

  };
</script>

<style scoped lang="less">
  .header-comp {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }
  .header-title {
    width: 100%;
    height: 40px;
    background-color: #b0e0ff;
    text-align: center;
    line-height: 40px;
  }

</style>
